package com.sd.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lws
 * @since 2019-01-23
 */
@TableName("tk_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer is_delete;

    private String taobao_avater_url;

    private String taobao_open_sid;

    private String remark;

    private String phone_num;

    private String taobao_nick;

    private String taobao_open_id;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    private LocalDateTime gmt_create;

    /**
     * 更新时间
     */
    private LocalDateTime gmt_modified;


    public Integer getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(Integer is_delete) {
        this.is_delete = is_delete;
    }

    public String getTaobao_avater_url() {
        return taobao_avater_url;
    }

    public void setTaobao_avater_url(String taobao_avater_url) {
        this.taobao_avater_url = taobao_avater_url;
    }

    public String getTaobao_open_sid() {
        return taobao_open_sid;
    }

    public void setTaobao_open_sid(String taobao_open_sid) {
        this.taobao_open_sid = taobao_open_sid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPhone_num() {
        return phone_num;
    }

    public void setPhone_num(String phone_num) {
        this.phone_num = phone_num;
    }

    public String getTaobao_nick() {
        return taobao_nick;
    }

    public void setTaobao_nick(String taobao_nick) {
        this.taobao_nick = taobao_nick;
    }

    public String getTaobao_open_id() {
        return taobao_open_id;
    }

    public void setTaobao_open_id(String taobao_open_id) {
        this.taobao_open_id = taobao_open_id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDateTime getGmt_create() {
        return gmt_create;
    }

    public void setGmt_create(LocalDateTime gmt_create) {
        this.gmt_create = gmt_create;
    }

    public LocalDateTime getGmt_modified() {
        return gmt_modified;
    }

    public void setGmt_modified(LocalDateTime gmt_modified) {
        this.gmt_modified = gmt_modified;
    }

    @Override
    public String toString() {
        return "User{" +
        "is_delete=" + is_delete +
        ", taobao_avater_url=" + taobao_avater_url +
        ", taobao_open_sid=" + taobao_open_sid +
        ", remark=" + remark +
        ", phone_num=" + phone_num +
        ", taobao_nick=" + taobao_nick +
        ", taobao_open_id=" + taobao_open_id +
        ", id=" + id +
        ", gmt_create=" + gmt_create +
        ", gmt_modified=" + gmt_modified +
        "}";
    }
}
